package com.jyx.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@EnableDiscoveryClient
@SpringBootApplication
@EntityScan(basePackages = {"com.jyx.framework.domain.search","com.jyx.framework.domain.learning"})
@ComponentScan(basePackages = {"com.jyx.api"})
@ComponentScan(basePackages = {"com.jyx.search"})
@ComponentScan(basePackages = {"com.jyx.framework"})
public class SearchApplication {
    public static void main(String[] args) {
        SpringApplication.run(SearchApplication.class, args);
    }
}
